<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/css/staly.css">
</head>
<body>
<span id="error-message" th:text="${msg}"></span>
<div class="control">
    <div class="item">
        <div class="active">注册</div>
    </div>
    <div class="content">
        <div style="display: block;">
            <form action="/user/register" method="post">
                <p>用户名</p>
                <input type="text" placeholder="请输入用户名" name="username" />
                <p>密码</p>
                <input type="password" placeholder="请输入密码" name ="password"/>
                <br/>
                <input type="submit" value="注册"/>
            </form>
            <p>已注册，<a href="./Login.html" target="top">去登录</a></p>

        </div>
    </div>
</div>

</body>
</html>